/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gestiontienda.dataaccess.domain.hibernate;

import gestiontienda.dataaccess.base.hibernate.HibernateGenericDAO;
import gestiontienda.dataaccess.base.hibernate.HibernateUtil;
import gestiontienda.dataaccess.domain.VentaDAO;
import gestiontienda.dataaccess.model.VentaVO;
/**
 *
 * @author igorov
 */
public class HibernateVentaDAO extends HibernateGenericDAO<VentaVO, Integer> implements VentaDAO {

    public HibernateVentaDAO() {
        super(VentaVO.class);
        super.getAdaptee().setSessionFactory(HibernateUtil.getSessionFactory());
//        super.setSessionFactory(HibernateUtil.getSessionFactory());
    }
    
}
